<?php
class DbManage
{
    private $conn;

    public function executeSqlTxt($sqlTxt)
    {
        $this->conn =
            mysqli_connect
            ("127.0.0.1",
                "root",
                "cptbtptp",
                "taopiaopiao2")
        or die("失败" . mysqli_error());
        $result = mysqli_query($this->conn, $sqlTxt);
        return $result;
    }

}